home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ8801.ZIP
/
NARO.ZIP
/
DEMO.CFG
< prev
next >
Wrap
Text File
|
1987-09-15
|
764b
|
23 lines
;
; This is a sample configuration file for Turbo C 1.0
; Copyright (C) Recycled Software 1987. All rights reserved.
;
; It makes the C program DEMO ROMable by making a copy of
; the initialized data, placing it after the program code and
; having the startup code copy the data from ROM to RAM
; following a reset.
;
dup DATA NEWDATA ; Make a copy of the initialized data
class CODE = 0xfc00 ; Assume ROM at FC000h
class STACK = 0x0040 ; Assume a stack at address 00400h
class DATA = 0x0050 ; And the program data at 00500h
order DATA BSS BSSEND ; Recreate DGROUP
order CODE CODEEND NEWDATA ; Place the initialized data after
; the program code
rom CODE NEWDATA ; ROM only the program and the
; initialized data